#include "mainwindow.h"

#include "../jseditor/jseditor.h"

#include <QFile>
#include <QApplication>
#include <QUuid>

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent)
{
    this->resize(800,600);

    JSEditor *js=new JSEditor;

    setCentralWidget(js);

    js->setFrameStyle(QFrame::NoFrame);

    js->open(qApp->applicationDirPath()+"/../../js_editor/calculator.js");
}
